package cn.com.wangluotongxin.linux.service;

import cn.com.wangluotongxin.linux.constants.FileTypeEnum;
import org.springframework.web.multipart.MultipartFile;

public interface IFileService {

    void uploadFile(MultipartFile file, String filePath);

    void removeFile(String filePath, String fileName);

    void createFile(String filePath, String fileName, FileTypeEnum fileTypeEnum);

    Object readFile(String filePath, String fileName);

    void writeFile(String filePath, String fileName, String content);
}
